package com.hualan.web.wsj;

import com.hualan.service.service.service.wsj.LunBoService;
import com.hualan.util.ResultEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/lunbo")
public class LunBoController {
    @Autowired
    private LunBoService lunBoService;

    @RequestMapping("/listAll")
    public ResultEntity listAll() {
        return ResultEntity.ok(lunBoService.listAll());
    }
}
